
			
			<div class="container">
				<ul class="nav nav-tabs">  
                 <?php if($this->tank_auth->is_url('product')){ ?>
					<li><a href="<?php echo site_url('product');?>">Products</a> </li> 
                 <?php } ?>
                 <?php if($this->tank_auth->is_url('category')){ ?>  
					<li><a href="<?php echo site_url('category');?>">Categories</a></li> 
                 <?php } ?>
                 <?php if($this->tank_auth->is_url('option')){ ?> 
					<li class="active"><a href="<?php echo site_url('option');?>">Options</a></li> 
                  <?php } ?>   
				</ul>  
			</div>
			<div class="container main">
				<div class="category-form">
					<h3>Edit Option</h3>
					<?php echo form_open_multipart('option/updatedata/'. $hasil->product_option_id,'class ="form-horizontal" ', 'id = "option-form"');?>
                       <div class="control-group">
							<label class="control-label" for="option_name">Option Name<span style="color: red;">*</span></label>
							<div class="controls">
								<input type="text" name="option_name" value="<?php echo $hasil->option_name ?>" />
							</div>
						</div>
                        <div class="control-group">
							<label class="control-label" for="price">Price</label>
							<div class="controls">
								<input type="text" name="price" value="<?php echo $hasil->price ?>" />  
							</div>
						</div>
                        <div class="control-group">
							<label class="control-label" for="price">Image</label>
							<div class="controls">
                            	<!--<img style="padding:3px; border:#666 1px solid; " width="40px" height="40px" src="<?php echo base_url();?>images/<?php echo $hasil -> image?>"/> -->
								<input type="file" id="image" name="image" value="<?php echo base_url();?>images/<?php echo $hasil -> image?>" />  
							</div>
						</div>  
                        <div class="control-group">
							<label class="control-label" for="quantity">Quantity</label>
							<div class="controls">
								<input type="text" name="quantity" value="<?php echo $hasil->quantity ?>" /> 
							</div>
						</div>
                        <div class="form-actions">
                    		<input class="btn btn-primary" id="submit" type="submit" value="Save Change" />
                    		<input class="btn" type="button" name="cancel" value="Cancel" onclick="self.history.back()" />
                        </div>
                    <?php echo form_close(); ?>
				</div>
			</div>
		</div>

		